<!--{assign var="menu_id" value="party"}-->
<!--{include file="<!--{$oetplpath}-->block_header.tpl"}--> 
<!--{include file="<!--{$oetplpath}-->block_top.tpl"}-->
<style type="text/css">
  body{background:#fff;}
</style>
<!--{assign var="ads" value=get_ads('party_banner')}-->
<!--{if !empty($ads)}-->
<div class="oe_party_tops" style="background-image:url(<!--{$ads.drawimg}-->);">
<!--{else}-->
<div class="oe_party_tops" style="background-image:url(<!--{$skinpath}-->images/party.png);">
<!--{/if}-->
  <div class="oe_party_topscon">
    <h2><label>相亲活动</label>  <span>相亲活动由官方举办,积极参加线下相亲活动，加大脱单成功率</span> </h2>
    <form id="party_form" action="<!--{routeurl module='party' action='list'}-->" method="post">
      <input type="hidden" name="s_catid" id="s_catid" value="<!--{$s_catid}-->" />
      <div class="party_cat">
        <ul>
          <li><a href="<!--{routeurl module='party' action='list'}-->"<!--{if $s_catid == '0'}--> class="current"<!--{/if}-->>全部</a> </li>
          <!--{assign var="partycatlist" value=vo_list("mod={volistvar} where={partycat}")}--> 
          <!--{foreach $partycatlist as $val}--> 
          <li><a href="<!--{routeurl module='party' action='list' items="s_area1=<!--{$s_area1}-->|s_area2=<!--{$s_area2}-->|s_area3=<!--{$s_area3}-->|s_area4=<!--{$s_area4}-->|s_catid=<!--{$val.value}-->"}-->" <!--{if $val.value==$s_catid}-->class="current" <!--{/if}-->><!--{$val.text}--></a></li> 
          <!--{/foreach}-->
        </ul>
        <div class="oe_area">
          <dl class="city">
            <dt><span></span></dt>
            <dd>
              <!--{area type='select' name='s_area' depth='1' child='1' text='选择地区' callback='jumpArea' value=$s_area1}-->
              <span id="json_s_area2">
              <!--{if $s_area1 > 0}--> 
              <!--{area type='select' name='s_area' depth='2' child='1' text='选择地区' callback='jumpArea' parentid=$s_area1 value=$s_area2}--> 
              <!--{else}-->
              <select name="s_area2" id="s_area2">
                <option value="">选择地区</option>
              </select>
              <!--{/if}--> 
              </span>
            </dd>
            <div class="clear"></div>
          </dl>
        </div>
        <div class="clear"></div>
      </div>
    </form>
	<script type="text/javascript">
	function jumpArea() {
		$s_area1 = $("#s_area1").val();
		$s_area1 = parseInt($s_area1);
		$s_area2 = $("#s_area2").val();
		if (typeof($s_area2) == "undefined") {
			$s_area2 = 0;
		}
		else {
			$s_area2 = parseInt($s_area2);
		}
		if ($s_area2 > 0) {
			$("#party_form").submit();
		}
	}
	</script>
  </div>
</div>


<div class="oe_main">
  <div class="oe_party_list">
    <div class="left"> 
      <!--{if empty($party)}-->
      <div class="no_data">
        <p class="p_1"> <span></span> </p>
        <p class="p_2">没有符合条件的信息！</p>
      </div>
      <!--{else}--> 
      <!--{foreach $party as $volist}-->
      <dl>
        <dt><a href="<!--{$volist.url}-->" target="_blank"><img src="<!--{$volist.thumbimg}-->" /></a> 
          <!--{if $volist.bm == '2'}--> 
          <span  class="current"></span> 
          <!--{else}--> 
          <span></span> 
          <!--{/if}--> 
          <p class="p_1 time">
            <label class="label_1">活动时间：<!--{$volist.starttime|date_format:"%Y/%m/%d %H:%M"}--></label>
            <label class="label_2">已有<!--{intval($volist.bmmans+$volist.bmladys)}-->人报名</span>
          </p>
        </dt>
        <dd>
          <h3><a href="<!--{$volist.url}-->" target="_blank"><!--{$volist.title}--></a></h3>
          <p class="p_1"><!--{$volist.content|filterhtml:80}--></p>
          <p class="p_2">
            <label></label>
            <!--{area type="text" value=$volist.area1}--> <!--{area type="text" value=$volist.area2}--> <!--{area type="text" value=$volist.area3}-->  <!--{$volist.address}-->
          </p>
          <p class="p_3">
            <label><i class="ico_4"></i>截止报名：</label>
            <!--{$volist.endbmtime|date_format:"%Y/%m/%d %H:%M"}--> 

            <!--{if $volist.endbmtime > $time}-->
            <span><a href="<!--{$volist.url}-->" target="_blank">活动报名中</a></span> 
            <!--{else}--> 
            <span class="current"><a href="<!--{$volist.url}-->" target="_blank">结束报名</a></span> 
            <!--{/if}--> 
          </p>
        </dd>
        <div class="clear"></div>
      </dl>
      <!--{/foreach}--> 
      <!--{/if}-->
      <div class="clear"></div>
      
      <!--{if $total > 0}--> 
      <!--{if !empty($showpage)}-->
      <div class="oe_page"> <!--{$showpage}--> </div>
      <!--{/if}--> 
      <!--{/if}--> 
      <script type="text/javascript">
        jQuery(".oe_party_list").slide({ type:"menu", titCell:"dl", targetCell:".time",effect:"slideDown",delayTime:300,triggerTime:0,defaultPlay:false});
      </script>
    </div>
    <!--//left End-->
    
    <div class="right">
      <div class="oe_party_help">
        <h3>活动帮助</h3>
        <div class="bd">
          <dl>
            <dt><span>1</span>报名活动</dt>
            <dd>找到感兴趣的活动，提交报名信息；</dd>
          </dl>
          <dl>
            <dt><span>2</span>支付费用</dt>
            <dd>在线支付活动费用，也可以参加活动时现场支付；</dd>
          </dl>
          <dl>
            <dt><span>3</span>准时参加活动</dt>
            <dd>现场签到，参加相亲活动；</dd>
          </dl>
          <dl>
            <dt><span>4</span>活动结束</dt>
            <dd>有心仪的对象，进一步交往。</dd>
          </dl>
        </div>
      </div>
      <!--//oe_party_help End-->
      <div class="oe_party_contact">
        <h3>联系我们</h3>
        <div class="bd">
          <dl>
            <dt><i class="ico_1"></i>电话</dt>
            <dd><!--{$config.sitetel}--></dd>
          </dl>
          <dl>
            <dt><i class="ico_2"></i>邮箱</dt>
            <dd><!--{$config.siteemail}--></dd>
          </dl>
          <dl>
            <dt><i class="ico_3"></i>地址</dt>
            <dd><!--{$config.siteaddress}--></dd>
          </dl>
        </div>
      </div>
      <!--//oe_party_contact End--> 
    </div>
    <!--//right End-->
    <div class="clear"></div>
  </div>
</div>

<!--{include file="<!--{$oetplpath}-->block_footer.tpl"}--> 
<script src="<!--{$skinpath}-->js/party.js"></script>
</body>
</html>